package com.demo.vo;

import com.demo.bean.Student;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class TeacherVO implements Serializable {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "老师姓名")
    private String thName;
    @ApiModelProperty(value = "课程")
    private String classes;
    @ApiModelProperty(value = "年龄")
    private int age;
    @ApiModelProperty(value = "学生列表")
    private List<Student> students;
}
